dojo.provide('app.form.AddressGeoItem');
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
dojo.require("dojo.i18n");
dojo.requireLocalization('app.i18n');
dojo.declare('app.form.AddressGeoItem',[dijit._Widget,dijit._Templated],{
	gResult:{},
	templateString:dojo.cache('app.form','AddressGeoItem.html'),
	_selectLinkLabel:'',
	_viewLinkLable:'',
	adressValue:'',
	attributeMap:{
		addressValue:{node:'addressValueNode',type:'innerHTML'}
	},
	constructor:function(args){
		this.inherited(arguments);
		this._selectLinkLabel = dojo.i18n.getLocalization('app.i18n').select_label
		this._viewLinkLabel = dojo.i18n.getLocalization('app.i18n').view_label
	},
	buildRendering:function(){
		this.inherited(arguments);
		var nInfLbl = dojo.i18n.getLocalization('app.i18n').not_informed_label;
		this.set('addressValue',this.gResult.formatted_address || nInfLbl);
	},
	onSelectClick:function(){
	},
	onViewClick:function(){
		
	}
})